package com.lingkang.sales.data.entity;

import java.io.Serializable;
import lombok.Data;

/**
 * @author linke
 * @date 2020/11/15 18:13
 * @description
 */
@Data
public class SaPermission implements Serializable {

  /**
   * 角色名
   */
  private String roleName;

  /**
   * 资源：url
   */
  private String source;

  /**
   * 操作：r读权限、w写权限
   */
  private String action;

  /**
   * 描述
   */
  private String description;

  private static final long serialVersionUID = 1L;

  public SaPermission() {
  }

  public SaPermission(String roleName, String source, String action, String description) {
    this.roleName = roleName;
    this.source = source;
    this.action = action;
    this.description = description;
  }
}
